﻿@model PhotographModel
@{
    ViewBag.Title = "UploadPhotograph";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<section class="pe-basic">
    @Html.Partial("_PersonalPartial")

    <div class="content">
        <h4>上传照片</h4>
        @using (Html.BeginForm("UploadPhotograph", "Personal", FormMethod.Post, new { enctype = "multipart/form-data" }))
        {
            @Html.AntiForgeryToken()

            <div class="field">
                <div class="editor-field">
                    <input name="tempFile" type="file" />
                </div>
            </div>
            <div class="field">
                <div class="editor-label">
                    @Html.LabelFor(r => r.Caption)
                </div>
                <div class="editor-field">
                    @Html.TextBoxFor(r => r.Caption)
                </div>
            </div>
            <div class="field">
                <div class="editor-label">
                </div>
                <div class="editor-field">
                    <input type="submit" value="上传照片" />
                </div>
            </div>
        }
    </div>
</section>
